﻿<Window
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
	xmlns:local="clr-namespace:Send2Twitter" 
	xmlns:setting="clr-namespace:Send2Twitter.Settings" 
	x:Name="window" mc:Ignorable="d" x:Class="MainWindow"
    Title="My Now Playing" Height="318" Width="496" TextOptions.TextFormattingMode="Display" Icon="PLAY.ico">
    <Window.Resources>
    	<local:BooleanHiddenConverter x:Key="BooleanHiddenConverter"/>
        <local:Commands x:Key="CommandsDataSource" d:IsDataSource="True"/>
        <local:EnumConverter x:Key="EnumConverter2"/>
        <local:BooleanToTextConverter x:Key="BooleanToTextConverter1"/>
        <setting:Settings x:Key="SettingsDataSource" d:IsDataSource="True"/>
        <local:EnumConverter x:Key="EnumConverter1"/>
        <local:EnumConverter x:Key="EnumConverter"/>
        <local:MySettings x:Key="MySettingsDataSource" d:IsDataSource="True"/>
    </Window.Resources>
	<Window.Visibility>
		<Binding Converter="{StaticResource BooleanHiddenConverter}" Path="Default.HideDefault"/>
	</Window.Visibility>
	<Window.DataContext>
		<Binding Source="{StaticResource MySettingsDataSource}"/>
	</Window.DataContext>
    <Grid DataContext="{Binding Source={StaticResource MySettingsDataSource}}">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="0.167*"/>
            <ColumnDefinition Width="0.666*"/>
            <ColumnDefinition Width="0.167*"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="0.857*"/>
            <RowDefinition Height="0.143*"/>
        </Grid.RowDefinitions>
        <TabControl Margin="8.005,7.995,7.951,0.119" RenderTransformOrigin="0.5,0.5" Grid.ColumnSpan="3">
            <TabControl.RenderTransform>
                <TransformGroup>
                    <ScaleTransform/>
                    <SkewTransform/>
                    <RotateTransform Angle="0.077"/>
                    <TranslateTransform/>
                </TransformGroup>
            </TabControl.RenderTransform>
            <TabItem Header="{DynamicResource resTiggerSetting}" Margin="0">
            	<TabItem.Background>
            		<LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
            			<LinearGradientBrush.RelativeTransform>
            				<TransformGroup>
            					<ScaleTransform CenterY="0.5" CenterX="0.5"/>
            					<SkewTransform CenterY="0.5" CenterX="0.5"/>
            					<RotateTransform CenterY="0.5" CenterX="0.5"/>
            					<TranslateTransform X="0.528"/>
            				</TransformGroup>
            			</LinearGradientBrush.RelativeTransform>
            			<GradientStop Color="#FFF3F3F3" Offset="0"/>
            			<GradientStop Color="#FFEBEBEB" Offset="0.5"/>
            			<GradientStop Color="#FFDDDDDD" Offset="0.5"/>
            			<GradientStop Color="#FFCDCDCD" Offset="1"/>
            		</LinearGradientBrush>
            	</TabItem.Background>
                <Grid Background="White">
                    <CheckBox Content="Ctrl" HorizontalAlignment="Left" Margin="8,45.546,0,0" VerticalAlignment="Top" IsChecked="{Binding KeyControl}" IsEnabled="{Binding IsChecked, ElementName=checkBox}"/>
                    <CheckBox Content="Shift" Margin="58.968,45.546,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Width="47.99" IsChecked="{Binding Default.KeyShift}" IsEnabled="{Binding IsChecked, ElementName=checkBox}"/>
                    <CheckBox Content="Alt" HorizontalAlignment="Left" Margin="106.958,45.546,0,0" VerticalAlignment="Top" IsChecked="{Binding Default.KeyAlt}" IsEnabled="{Binding IsChecked, ElementName=checkBox}"/>
                    <CheckBox Content="Win" HorizontalAlignment="Left" Margin="147.285,45.546,0,0" VerticalAlignment="Top" IsChecked="{Binding Default.KeyWin}" IsEnabled="{Binding IsChecked, ElementName=checkBox}"/>
                    <ComboBox x:Name="comboBox" Margin="204.331,45.546,129.713,0" VerticalAlignment="Top" IsEnabled="{Binding IsChecked, ElementName=checkBox}" ItemsSource="{Binding Keys}" SelectedItem="{Binding Default.KeyMain}"/>
                    <CheckBox x:Name="checkBox" Content="{DynamicResource resUseHotKey}" HorizontalAlignment="Left" Margin="10.168,25.98,0,0" VerticalAlignment="Top" IsChecked="{Binding Default.UseHotKey}"/>
                    <CheckBox x:Name="checkBox1" Content="{DynamicResource resRefreshByTime}" HorizontalAlignment="Left" Height="21.914" Margin="10.168,76.453,0,0" VerticalAlignment="Top" Width="65" IsChecked="{Binding Default.UseTimer}"/>
                    <Label Content="{DynamicResource resRefreshInterval}" HorizontalAlignment="Left" Height="30" Margin="10.168,0,0,67.642" VerticalAlignment="Bottom" Width="65"/>
                    <Slider x:Name="slider" VerticalAlignment="Bottom" Margin="106.958,0,129.713,75.64" Minimum="1" Maximum="60" IsEnabled="{Binding IsChecked, ElementName=checkBox1}" Value="{Binding Default.TimerInterval}" />
                    <TextBox HorizontalAlignment="Right" Height="22" Margin="0,0,65.003,75.64" TextWrapping="Wrap" VerticalAlignment="Bottom" Width="40.024" Text="{Binding Value, ElementName=slider}" VerticalScrollBarVisibility="Disabled" IsEnabled="{Binding IsChecked, ElementName=checkBox1}"/>
                    <Label Content="{DynamicResource resMinutes}" HorizontalAlignment="Right" Height="30" Margin="0,0,8,67.642" VerticalAlignment="Bottom" Width="42.026"/>
                </Grid>
            </TabItem>
            <TabItem Header="{DynamicResource resInfoCollector}" Margin="0">
            	<TabItem.Background>
            		<LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
            			<LinearGradientBrush.RelativeTransform>
            				<TransformGroup>
            					<ScaleTransform CenterY="0.5" CenterX="0.5"/>
            					<SkewTransform CenterY="0.5" CenterX="0.5"/>
            					<RotateTransform CenterY="0.5" CenterX="0.5"/>
            					<TranslateTransform X="0.484" Y="0.047"/>
            				</TransformGroup>
            			</LinearGradientBrush.RelativeTransform>
            			<GradientStop Color="#FFF3F3F3" Offset="0"/>
            			<GradientStop Color="#FFEBEBEB" Offset="0.5"/>
            			<GradientStop Color="#FFDDDDDD" Offset="0.5"/>
            			<GradientStop Color="#FFCDCDCD" Offset="1"/>
            		</LinearGradientBrush>
            	</TabItem.Background>
                <Grid Background="White" Height="200.009" Width="454.044" d:LayoutOverrides="Width">
                    <Grid.RowDefinitions>
                        <RowDefinition/>
                        <RowDefinition Height="34.602"/>
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="0.412*"/>
                        <ColumnDefinition Width="0.405*"/>
                        <ColumnDefinition Width="0.183*"/>
                    </Grid.ColumnDefinitions>
                    <ListBox x:Name="InfoGenPathList" Margin="8" ItemsSource="{Binding Default.InfoGens.SearchPath}" SelectionMode="Extended" DataContext="{Binding Source={StaticResource SettingsDataSource}}" Tag="{Binding Generator, ElementName=window}"/>
                    <Button Content="{DynamicResource resAddSearchDir}" HorizontalAlignment="Left" Margin="8,4.69,0,7.999" Width="83.1" Grid.Row="1" d:LayoutOverrides="Height" Name="Button2" Command="{Binding AddPath, Mode=OneWay}" DataContext="{Binding Source={StaticResource CommandsDataSource}}" CommandParameter="{Binding Default.InfoGens.SearchPath, Source={StaticResource SettingsDataSource}}" >
                    	<Button.Background>
                    		<LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                    			<LinearGradientBrush.RelativeTransform>
                    				<TransformGroup>
                    					<ScaleTransform CenterY="0.5" CenterX="0.5"/>
                    					<SkewTransform CenterY="0.5" CenterX="0.5"/>
                    					<RotateTransform CenterY="0.5" CenterX="0.5"/>
                    					<TranslateTransform X="0.516" Y="0.045"/>
                    				</TransformGroup>
                    			</LinearGradientBrush.RelativeTransform>
                    			<GradientStop Color="#FFF3F3F3" Offset="0"/>
                    			<GradientStop Color="#FFEBEBEB" Offset="0.5"/>
                    			<GradientStop Color="#FFDDDDDD" Offset="0.5"/>
                    			<GradientStop Color="#FFCDCDCD" Offset="1"/>
                    		</LinearGradientBrush>
                    	</Button.Background>
                    </Button>
                    <Button Content="{DynamicResource resDeleteSearchDir}" HorizontalAlignment="Right" Margin="0,4.69,8,7.999" Width="79.928" Grid.Row="1" d:LayoutOverrides="Height" Command="{Binding DeletePath, Mode=OneWay}" DataContext="{Binding Source={StaticResource CommandsDataSource}}" CommandParameter="{Binding ElementName=InfoGenPathList, Mode=OneWay}">
                    	<Button.Background>
                    		<LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                    			<LinearGradientBrush.RelativeTransform>
                    				<TransformGroup>
                    					<ScaleTransform CenterY="0.5" CenterX="0.5"/>
                    					<SkewTransform CenterY="0.5" CenterX="0.5"/>
                    					<RotateTransform CenterY="0.5" CenterX="0.5"/>
                    					<TranslateTransform X="0.498"/>
                    				</TransformGroup>
                    			</LinearGradientBrush.RelativeTransform>
                    			<GradientStop Color="#FFF3F3F3" Offset="0"/>
                    			<GradientStop Color="#FFEBEBEB" Offset="0.5"/>
                    			<GradientStop Color="#FFDDDDDD" Offset="0.5"/>
                    			<GradientStop Color="#FFCDCDCD" Offset="1"/>
                    		</LinearGradientBrush>
                    	</Button.Background>
                    </Button>
                    <ListBox x:Name="listBox2" Grid.Column="1" Margin="8,8,2.881,8" ItemsSource="{Binding Default.InfoGens.CachedItem}" ItemTemplate="{DynamicResource InfoGenTemplate}" DataContext="{Binding Source={StaticResource SettingsDataSource}}" Tag="{Binding Generator, ElementName=window}"/>
                    <Button Content="Button" Margin="0,8,8,0" Grid.Column="2" VerticalAlignment="Top"/>
                    <Button Content="{DynamicResource resRefresh}" Margin="0,8,8,0" Grid.Column="2" VerticalAlignment="Top" Command="{Binding RefreshAddin, Mode=OneWay}" DataContext="{Binding Source={StaticResource CommandsDataSource}}" CommandParameter="{Binding ElementName=InfoGenPathList, Mode=OneWay}">
                    	<Button.Background>
                    		<LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                    			<LinearGradientBrush.RelativeTransform>
                    				<TransformGroup>
                    					<ScaleTransform CenterY="0.5" CenterX="0.5"/>
                    					<SkewTransform CenterY="0.5" CenterX="0.5"/>
                    					<RotateTransform CenterY="0.5" CenterX="0.5"/>
                    					<TranslateTransform X="0.501"/>
                    				</TransformGroup>
                    			</LinearGradientBrush.RelativeTransform>
                    			<GradientStop Color="#FFF3F3F3" Offset="0"/>
                    			<GradientStop Color="#FFEBEBEB" Offset="0.5"/>
                    			<GradientStop Color="#FFDDDDDD" Offset="0.5"/>
                    			<GradientStop Color="#FFCDCDCD" Offset="1"/>
                    		</LinearGradientBrush>
                    	</Button.Background>
                    </Button>
                    <Button Content="{DynamicResource resSetting}" Margin="0,33.836,8,0" Grid.Column="2" VerticalAlignment="Top" Command="{Binding ShowSetting, Mode=OneWay}" DataContext="{Binding Source={StaticResource CommandsDataSource}}" CommandParameter="{Binding ElementName=listBox2, Mode=OneWay}">
                    	<Button.Background>
                    		<LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                    			<LinearGradientBrush.RelativeTransform>
                    				<TransformGroup>
                    					<ScaleTransform CenterY="0.5" CenterX="0.5"/>
                    					<SkewTransform CenterY="0.5" CenterX="0.5"/>
                    					<RotateTransform CenterY="0.5" CenterX="0.5"/>
                    					<TranslateTransform X="0.502"/>
                    				</TransformGroup>
                    			</LinearGradientBrush.RelativeTransform>
                    			<GradientStop Color="#FFF3F3F3" Offset="0"/>
                    			<GradientStop Color="#FFEBEBEB" Offset="0.5"/>
                    			<GradientStop Color="#FFDDDDDD" Offset="0.5"/>
                    			<GradientStop Color="#FFCDCDCD" Offset="1"/>
                    		</LinearGradientBrush>
                    	</Button.Background>
                    </Button>
                    <Button Content="{DynamicResource resCheckAvaibility}" Margin="0,59.672,8,0" Grid.Column="2" VerticalAlignment="Top" Command="{Binding Check, Mode=OneWay}" DataContext="{Binding Source={StaticResource CommandsDataSource}}" CommandParameter="{Binding ElementName=listBox2, Mode=OneWay}">
                    	<Button.Background>
                    		<LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                    			<LinearGradientBrush.RelativeTransform>
                    				<TransformGroup>
                    					<ScaleTransform CenterY="0.5" CenterX="0.5"/>
                    					<SkewTransform CenterY="0.5" CenterX="0.5"/>
                    					<RotateTransform CenterY="0.5" CenterX="0.5"/>
                    					<TranslateTransform X="0.514"/>
                    				</TransformGroup>
                    			</LinearGradientBrush.RelativeTransform>
                    			<GradientStop Color="#FFF3F3F3" Offset="0"/>
                    			<GradientStop Color="#FFEBEBEB" Offset="0.5"/>
                    			<GradientStop Color="#FFDDDDDD" Offset="0.5"/>
                    			<GradientStop Color="#FFCDCDCD" Offset="1"/>
                    		</LinearGradientBrush>
                    	</Button.Background>
                    </Button>
                </Grid>
            </TabItem>
            <TabItem Header="{DynamicResource resInfoProccessor}" Margin="0">
            	<TabItem.Background>
            		<LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
            			<LinearGradientBrush.RelativeTransform>
            				<TransformGroup>
            					<ScaleTransform CenterY="0.5" CenterX="0.5"/>
            					<SkewTransform CenterY="0.5" CenterX="0.5"/>
            					<RotateTransform CenterY="0.5" CenterX="0.5"/>
            					<TranslateTransform X="0.516" Y="0.053"/>
            				</TransformGroup>
            			</LinearGradientBrush.RelativeTransform>
            			<GradientStop Color="#FFF3F3F3" Offset="0"/>
            			<GradientStop Color="#FFEBEBEB" Offset="0.5"/>
            			<GradientStop Color="#FFDDDDDD" Offset="0.5"/>
            			<GradientStop Color="#FFCDCDCD" Offset="1"/>
            		</LinearGradientBrush>
            	</TabItem.Background>
                <Grid Background="White" Height="200.009" Width="454.044" d:LayoutOverrides="Width">
                    <Grid.RowDefinitions>
                        <RowDefinition/>
                        <RowDefinition Height="34.602"/>
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="0.412*"/>
                        <ColumnDefinition Width="0.405*"/>
                        <ColumnDefinition Width="0.183*"/>
                    </Grid.ColumnDefinitions>
                    <ListBox x:Name="InfoProcPathList" Margin="8" ItemsSource="{Binding Default.Proccessors.SearchPath}" DataContext="{Binding Source={StaticResource SettingsDataSource}}" SelectionMode="Extended" Tag="{Binding Proccessor, ElementName=window}"/>
                    <Button Content="{DynamicResource resAddSearchDir}" HorizontalAlignment="Left" Margin="8,4.69,0,7.999" Width="83.1" Grid.Row="1" d:LayoutOverrides="Height" Name="Button3" DataContext="{Binding Source={StaticResource CommandsDataSource}}" Command="{Binding AddPath, Mode=OneWay}" CommandParameter="{Binding Default.Proccessors.SearchPath, Source={StaticResource SettingsDataSource}}" >
                    	<Button.Background>
                    		<LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                    			<LinearGradientBrush.RelativeTransform>
                    				<TransformGroup>
                    					<ScaleTransform CenterY="0.5" CenterX="0.5"/>
                    					<SkewTransform CenterY="0.5" CenterX="0.5"/>
                    					<RotateTransform CenterY="0.5" CenterX="0.5"/>
                    					<TranslateTransform X="0.492" Y="0.046"/>
                    				</TransformGroup>
                    			</LinearGradientBrush.RelativeTransform>
                    			<GradientStop Color="#FFF3F3F3" Offset="0"/>
                    			<GradientStop Color="#FFEBEBEB" Offset="0.5"/>
                    			<GradientStop Color="#FFDDDDDD" Offset="0.5"/>
                    			<GradientStop Color="#FFCDCDCD" Offset="1"/>
                    		</LinearGradientBrush>
                    	</Button.Background>
                    </Button>
                    <Button Content="{DynamicResource resDeleteSearchDir}" HorizontalAlignment="Right" Margin="0,4.69,8,7.999" Width="79.928" Grid.Row="1" d:LayoutOverrides="Height" Command="{Binding DeletePath, Mode=OneWay}" DataContext="{Binding Source={StaticResource CommandsDataSource}}" CommandParameter="{Binding ElementName=InfoProcPathList, Mode=OneWay}">
                    	<Button.Background>
                    		<LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                    			<LinearGradientBrush.RelativeTransform>
                    				<TransformGroup>
                    					<ScaleTransform CenterY="0.5" CenterX="0.5"/>
                    					<SkewTransform CenterY="0.5" CenterX="0.5"/>
                    					<RotateTransform CenterY="0.5" CenterX="0.5"/>
                    					<TranslateTransform X="0.498"/>
                    				</TransformGroup>
                    			</LinearGradientBrush.RelativeTransform>
                    			<GradientStop Color="#FFF3F3F3" Offset="0"/>
                    			<GradientStop Color="#FFEBEBEB" Offset="0.5"/>
                    			<GradientStop Color="#FFDDDDDD" Offset="0.5"/>
                    			<GradientStop Color="#FFCDCDCD" Offset="1"/>
                    		</LinearGradientBrush>
                    	</Button.Background>
                    </Button>
                    <ListBox x:Name="listBox1" Grid.Column="1" Margin="8,8,2.881,8" ItemsSource="{Binding Default.Proccessors.CachedItem}" ItemTemplate="{DynamicResource InfoProcTemplate}" DataContext="{Binding Source={StaticResource SettingsDataSource}}" Tag="{Binding Proccessor, ElementName=window}"/>
                    <Button Content="Button" Margin="0,8,8,0" Grid.Column="2" VerticalAlignment="Top"/>
                    <Button Content="{DynamicResource resRefresh}" Margin="0,8,8,0" Grid.Column="2" VerticalAlignment="Top" Command="{Binding RefreshAddin, Mode=OneWay}" DataContext="{Binding Source={StaticResource CommandsDataSource}}" CommandParameter="{Binding ElementName=InfoProcPathList, Mode=OneWay}">
                    	<Button.Background>
                    		<LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                    			<LinearGradientBrush.RelativeTransform>
                    				<TransformGroup>
                    					<ScaleTransform CenterY="0.5" CenterX="0.5"/>
                    					<SkewTransform CenterY="0.5" CenterX="0.5"/>
                    					<RotateTransform CenterY="0.5" CenterX="0.5"/>
                    					<TranslateTransform X="0.499"/>
                    				</TransformGroup>
                    			</LinearGradientBrush.RelativeTransform>
                    			<GradientStop Color="#FFF3F3F3" Offset="0"/>
                    			<GradientStop Color="#FFEBEBEB" Offset="0.5"/>
                    			<GradientStop Color="#FFDDDDDD" Offset="0.5"/>
                    			<GradientStop Color="#FFCDCDCD" Offset="1"/>
                    		</LinearGradientBrush>
                    	</Button.Background>
                    </Button>
                    <Button Content="{DynamicResource resSetting}" Margin="0,33.836,8,0" Grid.Column="2" VerticalAlignment="Top" Command="{Binding ShowSetting, Mode=OneWay}" DataContext="{Binding Source={StaticResource CommandsDataSource}}" CommandParameter="{Binding ElementName=listBox1, Mode=OneWay}">
                    	<Button.Background>
                    		<LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                    			<LinearGradientBrush.RelativeTransform>
                    				<TransformGroup>
                    					<ScaleTransform CenterY="0.5" CenterX="0.5"/>
                    					<SkewTransform CenterY="0.5" CenterX="0.5"/>
                    					<RotateTransform CenterY="0.5" CenterX="0.5"/>
                    					<TranslateTransform X="0.477" Y="0.043"/>
                    				</TransformGroup>
                    			</LinearGradientBrush.RelativeTransform>
                    			<GradientStop Color="#FFF3F3F3" Offset="0"/>
                    			<GradientStop Color="#FFEBEBEB" Offset="0.5"/>
                    			<GradientStop Color="#FFDDDDDD" Offset="0.5"/>
                    			<GradientStop Color="#FFCDCDCD" Offset="1"/>
                    		</LinearGradientBrush>
                    	</Button.Background>
                    </Button>
                    <Button Content="{DynamicResource resCheckAvaibility}" Margin="0,59.672,8,0" Grid.Column="2" VerticalAlignment="Top" Command="{Binding Check, Mode=OneWay}" DataContext="{Binding Source={StaticResource CommandsDataSource}}" CommandParameter="{Binding ElementName=listBox1, Mode=OneWay}">
                    	<Button.Background>
                    		<LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                    			<LinearGradientBrush.RelativeTransform>
                    				<TransformGroup>
                    					<ScaleTransform CenterY="0.5" CenterX="0.5"/>
                    					<SkewTransform CenterY="0.5" CenterX="0.5"/>
                    					<RotateTransform CenterY="0.5" CenterX="0.5"/>
                    					<TranslateTransform X="0.516" Y="-0.002"/>
                    				</TransformGroup>
                    			</LinearGradientBrush.RelativeTransform>
                    			<GradientStop Color="#FFF3F3F3" Offset="0"/>
                    			<GradientStop Color="#FFEBEBEB" Offset="0.5"/>
                    			<GradientStop Color="#FFDDDDDD" Offset="0.5"/>
                    			<GradientStop Color="#FFCDCDCD" Offset="1"/>
                    		</LinearGradientBrush>
                    	</Button.Background>
                    </Button>
                </Grid>
            </TabItem>
            <TabItem Header="{DynamicResource resInfoSender}" Margin="0" Tag="{Binding Sender, ElementName=window}">
            	<TabItem.Background>
            		<LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
            			<LinearGradientBrush.RelativeTransform>
            				<TransformGroup>
            					<ScaleTransform CenterY="0.5" CenterX="0.5"/>
            					<SkewTransform CenterY="0.5" CenterX="0.5"/>
            					<RotateTransform CenterY="0.5" CenterX="0.5"/>
            					<TranslateTransform X="0.502" Y="0.047"/>
            				</TransformGroup>
            			</LinearGradientBrush.RelativeTransform>
            			<GradientStop Color="#FFF3F3F3" Offset="0"/>
            			<GradientStop Color="#FFEBEBEB" Offset="0.5"/>
            			<GradientStop Color="#FFDDDDDD" Offset="0.5"/>
            			<GradientStop Color="#FFCDCDCD" Offset="1"/>
            		</LinearGradientBrush>
            	</TabItem.Background>
                <Grid Background="White" Height="200.009" Width="454.044" d:LayoutOverrides="Width">
                    <Grid.RowDefinitions>
                        <RowDefinition/>
                        <RowDefinition Height="34.602"/>
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="0.412*"/>
                        <ColumnDefinition Width="0.405*"/>
                        <ColumnDefinition Width="0.183*"/>
                    </Grid.ColumnDefinitions>
                    <ListBox x:Name="InfoSenderPathList" Margin="8" ItemsSource="{Binding Default.Senders.SearchPath}" DataContext="{Binding Source={StaticResource SettingsDataSource}}" SelectionMode="Extended" Tag="{Binding Sender, ElementName=window}"/>
                    <Button Content="{DynamicResource resAddSearchDir}" HorizontalAlignment="Left" Margin="8,4.69,0,7.999" Width="83.1" Grid.Row="1" d:LayoutOverrides="Height" Name="Button4" Command="{Binding AddPath, Mode=OneWay}" DataContext="{Binding Source={StaticResource CommandsDataSource}}" CommandParameter="{Binding Default.Senders.SearchPath, Source={StaticResource SettingsDataSource}}" >
                    	<Button.Background>
                    		<LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                    			<LinearGradientBrush.RelativeTransform>
                    				<TransformGroup>
                    					<ScaleTransform CenterY="0.5" CenterX="0.5"/>
                    					<SkewTransform CenterY="0.5" CenterX="0.5"/>
                    					<RotateTransform CenterY="0.5" CenterX="0.5"/>
                    					<TranslateTransform X="0.504"/>
                    				</TransformGroup>
                    			</LinearGradientBrush.RelativeTransform>
                    			<GradientStop Color="#FFF3F3F3" Offset="0"/>
                    			<GradientStop Color="#FFEBEBEB" Offset="0.5"/>
                    			<GradientStop Color="#FFDDDDDD" Offset="0.5"/>
                    			<GradientStop Color="#FFCDCDCD" Offset="1"/>
                    		</LinearGradientBrush>
                    	</Button.Background>
                    </Button>
                    <Button Content="{DynamicResource resDeleteSearchDir}" HorizontalAlignment="Right" Margin="0,4.69,8,7.999" Width="79.928" Grid.Row="1" d:LayoutOverrides="Height" Command="{Binding DeletePath, Mode=OneWay}" DataContext="{Binding Source={StaticResource CommandsDataSource}}" CommandParameter="{Binding ElementName=InfoSenderPathList, Mode=OneWay}">
                    	<Button.Background>
                    		<LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                    			<LinearGradientBrush.RelativeTransform>
                    				<TransformGroup>
                    					<ScaleTransform CenterY="0.5" CenterX="0.5"/>
                    					<SkewTransform CenterY="0.5" CenterX="0.5"/>
                    					<RotateTransform CenterY="0.5" CenterX="0.5"/>
                    					<TranslateTransform X="0.475"/>
                    				</TransformGroup>
                    			</LinearGradientBrush.RelativeTransform>
                    			<GradientStop Color="#FFF3F3F3" Offset="0"/>
                    			<GradientStop Color="#FFEBEBEB" Offset="0.5"/>
                    			<GradientStop Color="#FFDDDDDD" Offset="0.5"/>
                    			<GradientStop Color="#FFCDCDCD" Offset="1"/>
                    		</LinearGradientBrush>
                    	</Button.Background>
                    </Button>
                    <ListBox x:Name="listBox" Grid.Column="1" Margin="8,8,2.881,8" ItemsSource="{Binding Default.Senders.CachedItem}" ItemTemplate="{DynamicResource InfoSenderTemplate}" DataContext="{Binding Source={StaticResource SettingsDataSource}}" Tag="{Binding Sender, ElementName=window}"/>
                    <Button Content="Button" Margin="0,8,8,0" Grid.Column="2" VerticalAlignment="Top"/>
                    <Button Content="{DynamicResource resRefresh}" Margin="0,8,8,0" Grid.Column="2" VerticalAlignment="Top" Command="{Binding RefreshAddin, Mode=OneWay}" DataContext="{Binding Source={StaticResource CommandsDataSource}}" CommandParameter="{Binding ElementName=InfoSenderPathList, Mode=OneWay}">
                    	<Button.Background>
                    		<LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                    			<LinearGradientBrush.RelativeTransform>
                    				<TransformGroup>
                    					<ScaleTransform CenterY="0.5" CenterX="0.5"/>
                    					<SkewTransform CenterY="0.5" CenterX="0.5"/>
                    					<RotateTransform CenterY="0.5" CenterX="0.5"/>
                    					<TranslateTransform X="0.515" Y="-0.045"/>
                    				</TransformGroup>
                    			</LinearGradientBrush.RelativeTransform>
                    			<GradientStop Color="#FFF3F3F3" Offset="0"/>
                    			<GradientStop Color="#FFEBEBEB" Offset="0.5"/>
                    			<GradientStop Color="#FFDDDDDD" Offset="0.5"/>
                    			<GradientStop Color="#FFCDCDCD" Offset="1"/>
                    		</LinearGradientBrush>
                    	</Button.Background>
                    </Button>
                    <Button Content="{DynamicResource resSetting}" Margin="0,33.836,8,0" Grid.Column="2" VerticalAlignment="Top" Command="{Binding ShowSetting, Mode=OneWay}" DataContext="{Binding Source={StaticResource CommandsDataSource}}" CommandParameter="{Binding ElementName=listBox, Mode=OneWay}">
                    	<Button.Background>
                    		<LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                    			<LinearGradientBrush.RelativeTransform>
                    				<TransformGroup>
                    					<ScaleTransform CenterY="0.5" CenterX="0.5"/>
                    					<SkewTransform CenterY="0.5" CenterX="0.5"/>
                    					<RotateTransform CenterY="0.5" CenterX="0.5"/>
                    					<TranslateTransform X="0.486" Y="0.043"/>
                    				</TransformGroup>
                    			</LinearGradientBrush.RelativeTransform>
                    			<GradientStop Color="#FFF3F3F3" Offset="0"/>
                    			<GradientStop Color="#FFEBEBEB" Offset="0.5"/>
                    			<GradientStop Color="#FFDDDDDD" Offset="0.5"/>
                    			<GradientStop Color="#FFCDCDCD" Offset="1"/>
                    		</LinearGradientBrush>
                    	</Button.Background>
                    </Button>
                    <Button Content="{DynamicResource resCheckAvaibility}" Margin="0,59.672,8,0" Grid.Column="2" VerticalAlignment="Top" Command="{Binding Check, Mode=OneWay}" DataContext="{Binding Source={StaticResource CommandsDataSource}}" CommandParameter="{Binding ElementName=listBox, Mode=OneWay}">
                    	<Button.Background>
                    		<LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                    			<LinearGradientBrush.RelativeTransform>
                    				<TransformGroup>
                    					<ScaleTransform CenterY="0.5" CenterX="0.5"/>
                    					<SkewTransform CenterY="0.5" CenterX="0.5"/>
                    					<RotateTransform CenterY="0.5" CenterX="0.5"/>
                    					<TranslateTransform X="0.475" Y="-0.044"/>
                    				</TransformGroup>
                    			</LinearGradientBrush.RelativeTransform>
                    			<GradientStop Color="#FFF3F3F3" Offset="0"/>
                    			<GradientStop Color="#FFEBEBEB" Offset="0.5"/>
                    			<GradientStop Color="#FFDDDDDD" Offset="0.5"/>
                    			<GradientStop Color="#FFCDCDCD" Offset="1"/>
                    		</LinearGradientBrush>
                    	</Button.Background>
                    </Button>
                </Grid>
            </TabItem>
        </TabControl>
        <Button Margin="8,8,0,8" Grid.Row="1" Name="Button1" Content="{Binding Default.IsWorking, Converter={StaticResource BooleanToTextConverter1}}" Command="{Binding StartWork, Mode=OneWay, Source={StaticResource CommandsDataSource}}" >
        	<Button.Background>
        		<LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
        			<LinearGradientBrush.RelativeTransform>
        				<TransformGroup>
        					<ScaleTransform CenterY="0.5" CenterX="0.5"/>
        					<SkewTransform CenterY="0.5" CenterX="0.5"/>
        					<RotateTransform CenterY="0.5" CenterX="0.5"/>
        					<TranslateTransform X="0.501"/>
        				</TransformGroup>
        			</LinearGradientBrush.RelativeTransform>
        			<GradientStop Color="#FFF3F3F3" Offset="0"/>
        			<GradientStop Color="#FFEBEBEB" Offset="0.5"/>
        			<GradientStop Color="#FFDDDDDD" Offset="0.5"/>
        			<GradientStop Color="#FFCDCDCD" Offset="1"/>
        		</LinearGradientBrush>
        	</Button.Background>
        </Button>
        
        <Button Content="{DynamicResource resHideWindow}" Grid.Column="2" Margin="0,8,8,8" Grid.Row="1" Command="{Binding ChangeHideState, Mode=OneWay}" DataContext="{Binding Source={StaticResource CommandsDataSource}}">
        	<Button.Background>
        		<LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
        			<LinearGradientBrush.RelativeTransform>
        				<TransformGroup>
        					<ScaleTransform CenterY="0.5" CenterX="0.5"/>
        					<SkewTransform CenterY="0.5" CenterX="0.5"/>
        					<RotateTransform CenterY="0.5" CenterX="0.5"/>
        					<TranslateTransform X="0.487"/>
        				</TransformGroup>
        			</LinearGradientBrush.RelativeTransform>
        			<GradientStop Color="#FFF3F3F3" Offset="0"/>
        			<GradientStop Color="#FFEBEBEB" Offset="0.5"/>
        			<GradientStop Color="#FFDDDDDD" Offset="0.5"/>
        			<GradientStop Color="#FFCDCDCD" Offset="1"/>
        		</LinearGradientBrush>
        	</Button.Background>
        </Button>
        
    </Grid>
</Window>
